package com.coder.oj.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.coder.oj.common.entity.User;

/**
 * @author Bosen 2022/11/24 13:55
 **/
public interface UserMapper extends BaseMapper<User> {

    User getUserByOpenId(String openId);

    Long getIdByOpenId(String openId);

    String getUserNickname(Long id);

}
